body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  position: relative;
  height: 100vh;
  width: 100vw;
  padding: 2vmin;
  box-sizing: border-box;
  background: rgb(37, 37, 38);
  color: #ffffff80;
  > * {
    position: relative;
    box-sizing: border-box;
    overflow: auto;
    height: 100%;
    width: 100%;
    background: rgb(30, 30, 30);
    padding: 2vmin;
    border-radius: @border-radius-base;
  }
}

// 仅支持 chrome 滚动条样式
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: rgb(30, 30, 30);
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: rgb(79, 79, 79);
}

::selection {
  background: @primary-color;
  color: #ffffff50;
}
